import axios from '@/api/axios.config.js'
// export default apiCollection;
export const brandModel = {
	getParam:function(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=getParam',data);
	},
	updateParam:function(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=updateParam',data);
	},
	//车系图片上传
	saveSeriesImageUrl:function(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=saveSeriesImageUrl',data);
	},
	//admin端车款视频分类
	getsVideoClass(){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=getsVideoClass', {});
	},
	//admin端车款视频列表
	getsVideo(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=getsVideo',data);
	},
	//admin端获取视频路径并入库
	saveVideoUrl(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=saveVideoUrl',data);
	},
	//admin端获视频更新
	updateVideoInfo(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=updateVideoInfo',data);
	},
	//admin端视频删除
	deleteVideo(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=deleteVideo',data);
	},
	//置顶视频
	topVideo(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=isTop',data);
	}
};
export const priceAudit = {
	getPriceRecord(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=getPriceRecord',data);
	},
	examineBrand(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=examineBrand',data);
	}
}
export const inquiry = {
	getCustomerInquiry(data){
		return axios.post('/admin/yt_car/index.php?act=yt_car&op=getCustomerInquiry',data);
	}
}
